//
//  ZQtest1ViewController.m
//  柳州微博
//
//  Created by Apple_Lzzy40 on 16/9/18.
//  Copyright © 2016年 Apple_Lzzy40. All rights reserved.
//

#import "ZQtest1ViewController.h"
#import "ZQteset2ViewController.h"
#import "UIView+ZQExtension.h"
@interface ZQtest1ViewController ()

@end

@implementation ZQtest1ViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    
    //隐藏tabbar
    self.hidesBottomBarWhenPushed=YES;

    
}

-(void)back
{
    [self.navigationController popToRootViewControllerAnimated:YES];
}

-(void)backRight
{
    [self.navigationController popToRootViewControllerAnimated:YES];
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    
}
-(void)touchesBegan:(NSSet<UITouch *> *)touches withEvent:(UIEvent *)event
{

    ZQteset2ViewController *test2=[[ZQteset2ViewController alloc]init];
    test2.navigationItem.title=@"测试控制器2";
    [self.navigationController pushViewController:test2 animated:YES];
}


/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
